# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xprop
pkgver=1.2.7
pkgrel=0
pkgdesc="Property displayer for X"
url="https://cgit.freedesktop.org/xorg/app/xprop"
arch="all"
license="MIT"
makedepends="libx11-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/archive/individual/app/xprop-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
84ada23660e2aef7024352e1a774f920e86c55fbfda486c087b9f41f8da30a84734fe753b62432f3df16913e86da4a18ce04ca018091d444cef727de97bf94f1  xprop-1.2.7.tar.xz
"
